<html>
<head><meta charset="utf-8"><title>Const traits temperature check · t-compiler/const-eval · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/index.html">t-compiler/const-eval</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/Const.20traits.20temperature.20check.html">Const traits temperature check</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="242139692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/Const%20traits%20temperature%20check/near/242139692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Thom Chiovoloni <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/Const.20traits.20temperature.20check.html#242139692">(Jun 09 2021 at 22:35)</a>:</h4>
<p>My impression is that const traits are... quite a ways off from stabilizing (and that the feature may even need further design work). Is this correct?</p>
<p>(I'm not looking for any sort of promise, I'm just trying to evaluate whether or not I should hold off on a library feature that would be made somewhat redundant by const traits)</p>



<a name="242140817"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/Const%20traits%20temperature%20check/near/242140817" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Thom Chiovoloni <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/Const.20traits.20temperature.20check.html#242140817">(Jun 09 2021 at 22:49)</a>:</h4>
<p>Specifically, i mean the ability to do stuff like <code>const BLAH: Thing = foo() &amp; bar();</code>, which would require invoking ops::And in a const context (and for the implementation of that types <code>ops::And</code> to be <code>const fn</code></p>



<a name="242140888"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/Const%20traits%20temperature%20check/near/242140888" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/Const.20traits.20temperature.20check.html#242140888">(Jun 09 2021 at 22:50)</a>:</h4>
<p><span class="user-mention silent" data-user-id="209168">Thom Chiovoloni</span> <a href="#narrow/stream/146212-t-compiler.2Fconst-eval/topic/Const.20traits.20temperature.20check/near/242139692">said</a>:</p>
<blockquote>
<p>My impression is that const traits are... quite a ways off from stabilizing (and that the feature may even need further design work). Is this correct?</p>
</blockquote>
<p>that is correct, yes</p>



<a name="242177008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/146212-t-compiler/const-eval/topic/Const%20traits%20temperature%20check/near/242177008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/146212-t-compiler/const-eval/topic/Const.20traits.20temperature.20check.html#242177008">(Jun 10 2021 at 08:57)</a>:</h4>
<p>yea, don't hold your breath. We're out of const eval feature impl resources presently</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>